package com.donlim.dev.dto;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * Created by 星 on 2020/11/3
 */
@Getter
@Setter
public class LoginParams {

    @NotEmpty(message = "用户名不能为空")
    private String userCode;

    @NotEmpty(message = "密码不能为空")
    private String password;
}
